pkgname=postmarketos-base
pkgver=1
pkgrel=6
pkgdesc="Meta package for minimal postmarketos base"
url="https://github.com/postmarketOS"
arch="noarch"
license="GPL3+"
depends="alpine-base haveged cryptsetup wpa_supplicant iw openssh mosh
tmux htop nano postmarketos-mkinitfs eudev sudo"
makedepends=""
install="$pkgname.post-install"
subpackages=""
source="profile.sh weston.ini sudoers"
options="!check"

package() {
	install -D -m644 "$srcdir"/profile.sh \
		"$pkgdir"/etc/profile.d/postmarketos.sh || return 1
	install -D -m644 "$srcdir"/weston.ini \
		"$pkgdir"/etc/xdg/weston/weston.ini
	install -D -m644 "$srcdir"/sudoers \
		"$pkgdir"/etc/sudoers.d/postmarketos
}
sha512sums="d763c73c42795c05d28eeebfb6ef21e2c9706849331c485dbbf1ec7ea4f95cbeed4f6f615f5815f5a7acb9e0d30232cc7fe38c982ce1c7c4c8dfe8fabfe783ca  profile.sh
0f4dcb493503081e0045b768bc81bb41096fdb5a340c4b5f23e7954f2bac7fd723ee00470bef400786725ab143bcc53e51607f28370c0c2533cbba623a5d9b13  weston.ini
c6de3b44bc45b9f9c641a7e34c69a481ee39b99ac0251cd28f2b3aae49c1a8d1ca448f4936b7942b1a8b8f7c18a5415c938098765ed8cf08456543800160e64b  sudoers"
